package cn.itcast.bos.service.base;

import domain.base.Courier;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * Created by Administrator on 2017/7/11/011.
 */
public interface CourierService extends BaseService<Courier>{

    void save(Courier courier);

    Page<Courier> findPageData(Specification<Courier> specification, Pageable pageable);

    void markDelTag(List<Integer> list);

    void restore(List<Integer> list);

    List<Courier> findUnassociated();
}
